export interface RequestOptions<T = unknown> {
  url: string,
  data?: T,
  header?: Record<string, string>,
  method?: 'GET' | 'POST' | 'PUT' | 'DELETE',
};

export type RequestResult<T = unknown> = {
  data: T,
} | { errorMsg: string }
